package com.docHunt.action;

import java.text.MessageFormat;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport {

	private static final long serialVersionUID = 1L;

	public String addErrorOrMsg(String message, Object[] fields) {

		return new MessageFormat(getText(message)).format(fields);
	}

}